package com.DataFactory.TaskManagement.model.entity;

import com.DataFactory.TaskManagement.common.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("task_arrangement")
public class TaskArrangement extends BaseEntity {

  // ID
  @TableId(type = IdType.AUTO)
  @Schema(description = "ID")
  private Integer id;
  // 任务ID
  private Integer taskId;
  // 团队ID
  private Integer teamId;
  // 开始日期
  private LocalDateTime startDate;
  // 进程
  private String process;
  // 进程率
  private String processRate;
  // 类型
  private String type;
  // 是否安排
  private Integer isArrange;
  // 是否设置
  private Integer isSet;
  // 持续时间
  private Integer duration;
  // 结果描述
  private String resultDescription;
  // 名称
  private String name;
  // 是否删除
  private Integer deleted;

}
